package com.usian.article.feign;

import com.usian.model.user.pojos.ApUserFollow;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "user")
public interface UserFeign {

    @GetMapping("/api/v1/user_follow/one")/*根据用户id和关注作者的id查询*/
    public ApUserFollow findByUserIdAndFollowId(@RequestParam("userId")Integer userId, @RequestParam("followId") Integer followId);

}
